﻿using System.Diagnostics;

namespace Language.Utility
{
    [DebuggerDisplay( "{Absolute}" )]
    public class FilePath
    {
        #region Public Properties

        public string Absolute { get; set; }

        public string Root => Project.FindRoot( Absolute );
        public string Relative => Absolute.Substring( Root.Length );

        #endregion Public Properties
    }

}
